100
It seems that the control uses the TAB key, is there any way to avoid that
local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.UseTabKey = false

99
How do I assign a database to your control, using ADO, ADOR or ADODB objects

local oComboBox,rs

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.ColumnAutoResize = false
rs = new OleAutoClient("ADOR.Recordset")
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Program Files\Exontrol\ExComboBox\Sample\Access\SAMPLE.MDB",3,3)
oComboBox.DataSource = rs

98
How do I change the visual appearance effect for the selected item, using EBN

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oComboBox.SelBackColor = 0x1000000
oComboBox.SelForeColor = 0x0
oComboBox.ShowFocusRect = false
oComboBox.Columns.Add("Column")
oComboBox.Items.AddItem(0)
oComboBox.Items.AddItem(1)

97
How do I change the colors for the selected item

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.SelBackColor = 0x0
oComboBox.Columns.Add("Column")
oComboBox.Items.AddItem(0)
oComboBox.Items.AddItem(1)

96
How do I get ride of the rectangle arround focused item

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.ShowFocusRect = false
oComboBox.Columns.Add("Column")
oComboBox.Items.AddItem(0)
oComboBox.Items.AddItem(1)

95
How can I change the control's font

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.Font.Name = "Tahoma"
oComboBox.Columns.Add("Column")

94
I can't scroll to the end of the data. What can I do

local oComboBox,var_Items,var_Items1,var_Items2,var_Items3

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.ScrollBySingleLine = true
oComboBox.DrawGridLines = -2
oComboBox.Columns.Add("Column")
var_Items = oComboBox.Items
	// var_Items.ItemHeight(var_Items.AddItem(0)) = 13
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.ItemHeight(AddItem(0)) = 13]
	endwith
oComboBox.PutItems(oComboBox.GetItems(0))
var_Items1 = oComboBox.Items
	// var_Items1.ItemHeight(var_Items1.AddItem(1)) = 26
	with (oComboBox)
		TemplateDef = [dim var_Items1]
		TemplateDef = var_Items1
		Template = [var_Items1.ItemHeight(AddItem(1)) = 26]
	endwith
oComboBox.PutItems(oComboBox.GetItems(0))
var_Items2 = oComboBox.Items
	// var_Items2.ItemHeight(var_Items2.AddItem(2)) = 36
	with (oComboBox)
		TemplateDef = [dim var_Items2]
		TemplateDef = var_Items2
		Template = [var_Items2.ItemHeight(AddItem(2)) = 36]
	endwith
oComboBox.PutItems(oComboBox.GetItems(0))
var_Items3 = oComboBox.Items
	// var_Items3.ItemHeight(var_Items3.AddItem(3)) = 48
	with (oComboBox)
		TemplateDef = [dim var_Items3]
		TemplateDef = var_Items3
		Template = [var_Items3.ItemHeight(AddItem(3)) = 48]
	endwith
oComboBox.PutItems(oComboBox.GetItems(0))

93
How do I specify the column where the tree lines / hierarchy are shown

local h,oComboBox,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.LinesAtRoot = 1
oComboBox.TreeColumnIndex = 1
oComboBox.Columns.Add("Column 1")
oComboBox.Columns.Add("Column 2")
var_Items = oComboBox.Items
	h = var_Items.AddItem("Root 1.1")
	// var_Items.CellCaption(h,1) = "Root 1.2"
	with (oComboBox)
		TemplateDef = [dim var_Items,h]
		TemplateDef = var_Items
		TemplateDef = h
		Template = [var_Items.CellCaption(h,1) = "Root 1.2"]
	endwith
	// var_Items.CellCaption(var_Items.InsertItem(h,null,"Child 1.1"),1) = "Child 1.2"
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellCaption(InsertItem(h,,"Child 1.1"),1) = "Child 1.2"]
	endwith
	// var_Items.CellCaption(var_Items.InsertItem(h,null,"Child 2.1"),1) = "Child 2.2"
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellCaption(InsertItem(h,,"Child 2.1"),1) = "Child 2.2"]
	endwith
	// var_Items.ExpandItem(h) = true
	with (oComboBox)
		TemplateDef = [dim var_Items,h]
		TemplateDef = var_Items
		TemplateDef = h
		Template = [var_Items.ExpandItem(h) = True]
	endwith
	h = var_Items.AddItem("Root 2.1")
	// var_Items.CellCaption(h,1) = "Root 2.2"
	with (oComboBox)
		TemplateDef = [dim var_Items,h]
		TemplateDef = var_Items
		TemplateDef = h
		Template = [var_Items.CellCaption(h,1) = "Root 2.2"]
	endwith
	// var_Items.CellCaption(var_Items.InsertItem(h,null,"Child 1.1"),1) = "Child 1.2"
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellCaption(InsertItem(h,,"Child 1.1"),1) = "Child 1.2"]
	endwith

92
How do I specify the indentation of the child items relative to their parents

local h,oComboBox,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.LinesAtRoot = 1
oComboBox.Indent = 11
oComboBox.Columns.Add("Column")
var_Items = oComboBox.Items
	h = var_Items.AddItem("Root 1")
	var_Items.InsertItem(h,null,"Child 1")
	var_Items.InsertItem(h,null,"Child 2")
	// var_Items.ExpandItem(h) = true
	with (oComboBox)
		TemplateDef = [dim var_Items,h]
		TemplateDef = var_Items
		TemplateDef = h
		Template = [var_Items.ExpandItem(h) = True]
	endwith
	h = var_Items.AddItem("Root 2")
	var_Items.InsertItem(h,null,"Child")

91
How can I programmatically change the column where incremental searching is performed

local oComboBox,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.Columns.Add("Column 1")
oComboBox.Columns.Add("Column 2")
var_Items = oComboBox.Items
	// var_Items.CellCaption(var_Items.AddItem("Item 1"),1) = "SubItem 1"
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellCaption(AddItem("Item 1"),1) = "SubItem 1"]
	endwith
oComboBox.SearchColumnIndex = 1

90
How do I disable the full-row selection in the control

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.FullRowSelect = false
oComboBox.Columns.Add("Column")
oComboBox.Items.AddItem("One")
oComboBox.Items.AddItem("Two")

89
Is there any option to specify the height of the items, before adding them

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.DefaultItemHeight = 32
oComboBox.Columns.Add("Column")
oComboBox.Items.AddItem("One")
oComboBox.Items.AddItem("Two")

88
How do lock / fix some columns to the control, so I can see them all the time, event if I scroll the columns

local oComboBox,var_Column,var_Column1,var_Column2,var_Column3,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.CountLockedColumns = 1
oComboBox.BackColorLock = 0xf0f0f0
oComboBox.ColumnAutoResize = false
// oComboBox.Columns.Add("Locked").Width = 128
var_Column = oComboBox.Columns.Add("Locked")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Width = 128]
endwith
// oComboBox.Columns.Add("Un-Locked 1").Width = 128
var_Column1 = oComboBox.Columns.Add("Un-Locked 1")
with (oComboBox)
	TemplateDef = [dim var_Column1]
	TemplateDef = var_Column1
	Template = [var_Column1.Width = 128]
endwith
// oComboBox.Columns.Add("Un-Locked 2").Width = 128
var_Column2 = oComboBox.Columns.Add("Un-Locked 2")
with (oComboBox)
	TemplateDef = [dim var_Column2]
	TemplateDef = var_Column2
	Template = [var_Column2.Width = 128]
endwith
// oComboBox.Columns.Add("Un-Locked 3").Width = 128
var_Column3 = oComboBox.Columns.Add("Un-Locked 3")
with (oComboBox)
	TemplateDef = [dim var_Column3]
	TemplateDef = var_Column3
	Template = [var_Column3.Width = 128]
endwith
var_Items = oComboBox.Items
	// var_Items.CellCaption(var_Items.AddItem("locked"),1) = "unlocked"
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellCaption(AddItem("locked"),1) = "unlocked"]
	endwith

87
How do I change the control's background / foreground color on the locked area

local oComboBox,var_Column,var_Column1,var_Column2,var_Column3,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.CountLockedColumns = 1
oComboBox.ForeColorLock = 0xf0f0f0
oComboBox.BackColorLock = 0x808080
oComboBox.ColumnAutoResize = false
// oComboBox.Columns.Add("Locked").Width = 128
var_Column = oComboBox.Columns.Add("Locked")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Width = 128]
endwith
// oComboBox.Columns.Add("Un-Locked 1").Width = 128
var_Column1 = oComboBox.Columns.Add("Un-Locked 1")
with (oComboBox)
	TemplateDef = [dim var_Column1]
	TemplateDef = var_Column1
	Template = [var_Column1.Width = 128]
endwith
// oComboBox.Columns.Add("Un-Locked 2").Width = 128
var_Column2 = oComboBox.Columns.Add("Un-Locked 2")
with (oComboBox)
	TemplateDef = [dim var_Column2]
	TemplateDef = var_Column2
	Template = [var_Column2.Width = 128]
endwith
// oComboBox.Columns.Add("Un-Locked 3").Width = 128
var_Column3 = oComboBox.Columns.Add("Un-Locked 3")
with (oComboBox)
	TemplateDef = [dim var_Column3]
	TemplateDef = var_Column3
	Template = [var_Column3.Width = 128]
endwith
var_Items = oComboBox.Items
	// var_Items.CellCaption(var_Items.AddItem("locked"),1) = "unlocked"
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellCaption(AddItem("locked"),1) = "unlocked"]
	endwith

86
How do I change the control's foreground color

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.ForeColor = 0x787878
oComboBox.Columns.Add("Column")
oComboBox.Items.AddItem("item")

85
How do I change the control's background color

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.BackColor = 0xc8c8c8

84
How do I use my own icons for my radio buttons

local oComboBox,var_Column,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oComboBox.Template = [RadioImage(0) = 1] // oComboBox.RadioImage(false) = 1
oComboBox.Template = [RadioImage(1) = 2] // oComboBox.RadioImage(true) = 2
// oComboBox.Columns.Add("Radio").Def(1) = true
var_Column = oComboBox.Columns.Add("Radio")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Def(1) = True]
endwith
var_Items = oComboBox.Items
	var_Items.AddItem("Radio 1")
	// var_Items.CellState(var_Items.AddItem("Radio 2"),0) = 1
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellState(AddItem("Radio 2"),0) = 1]
	endwith
	var_Items.AddItem("Radio 3")

83
How do I use my own icons for checkbox cells

local oComboBox,var_Column,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oComboBox.Template = [CheckImage(0) = 1] // oComboBox.CheckImage(0) = 1
oComboBox.Template = [CheckImage(1) = 2] // oComboBox.CheckImage(1) = 2
// oComboBox.Columns.Add("Check").Def(0) = true
var_Column = oComboBox.Columns.Add("Check")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Def(0) = True]
endwith
var_Items = oComboBox.Items
	var_Items.AddItem("Check 1")
	// var_Items.CellState(var_Items.AddItem("Check 2"),0) = 1
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellState(AddItem("Check 2"),0) = 1]
	endwith

82
How do I perform my own sorting when user clicks the column's header

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.SortOnClick = 1
oComboBox.Columns.Add("Column")
oComboBox.Items.AddItem("Item 1")
oComboBox.Items.AddItem("Item 2")

81
How do I disable sorting a specified column when clicking its header

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.Columns.Add("1")
// oComboBox.Columns.Add("NoSort").AllowSort = false
var_Column = oComboBox.Columns.Add("NoSort")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.AllowSort = False]
endwith

80
How do I disable sorting the columns when clicking the control's header

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.SortOnClick = 0
oComboBox.Columns.Add("1")
oComboBox.Columns.Add("2")

79
How do I sort descending a column, and put the sorting icon in the column's header

local oComboBox,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.Columns.Add("Column")
var_Items = oComboBox.Items
	var_Items.AddItem("Item 1")
	var_Items.AddItem("Item 2")
	var_Items.AddItem("Item 3")
oComboBox.Columns.Item(0).SortOrder = 2

78
How do I sort ascending a column, and put the sorting icon in the column's header

local oComboBox,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.Columns.Add("Column")
var_Items = oComboBox.Items
	var_Items.AddItem("Item 3")
	var_Items.AddItem("Item 1")
	var_Items.AddItem("Item 2")
oComboBox.Columns.Item(0).SortOrder = 1

77
How do I perform my own/custom sort, using my extra strings

local oComboBox,var_Column,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("desc").SortType = 5
var_Column = oComboBox.Columns.Add("desc")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.SortType = 5]
endwith
var_Items = oComboBox.Items
	// var_Items.CellData(var_Items.AddItem("A"),0) = "C"
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellData(AddItem("A"),0) = "C"]
	endwith
	// var_Items.CellData(var_Items.AddItem("B"),0) = "B"
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellData(AddItem("B"),0) = "B"]
	endwith
	// var_Items.CellData(var_Items.AddItem("C"),0) = "A"
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellData(AddItem("C"),0) = "A"]
	endwith
	var_Items.SortChildren(0,0,false)

76
How do I perform my own/custom sort, using my extra numbers

local oComboBox,var_Column,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("desc").SortType = 5
var_Column = oComboBox.Columns.Add("desc")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.SortType = 5]
endwith
var_Items = oComboBox.Items
	// var_Items.CellData(var_Items.AddItem(0),0) = 2
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellData(AddItem(0),0) = 2]
	endwith
	// var_Items.CellData(var_Items.AddItem(1),0) = 1
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellData(AddItem(1),0) = 1]
	endwith
	// var_Items.CellData(var_Items.AddItem(2),0) = 0
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellData(AddItem(2),0) = 0]
	endwith
	var_Items.SortChildren(0,0,false)

75
By default, the column gets sorted as strings, so how do I sort a column by time only

local oComboBox,var_Column,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("desc").SortType = 4
var_Column = oComboBox.Columns.Add("desc")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.SortType = 4]
endwith
var_Items = oComboBox.Items
	var_Items.AddItem("11:00")
	var_Items.AddItem("10:10")
	var_Items.AddItem("12:12")
	var_Items.SortChildren(0,0,false)

74
By default, the column gets sorted as strings, so how do I sort a column by date and time

local oComboBox,var_Column,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("desc").SortType = 3
var_Column = oComboBox.Columns.Add("desc")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.SortType = 3]
endwith
var_Items = oComboBox.Items
	var_Items.AddItem("1/1/2001 11:00")
	var_Items.AddItem("1/1/2001 10:10")
	var_Items.AddItem("1/3/2003")
	var_Items.SortChildren(0,0,false)

73
By default, the column gets sorted as strings, so how do I sort a column by dates

local oComboBox,var_Column,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("desc").SortType = 2
var_Column = oComboBox.Columns.Add("desc")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.SortType = 2]
endwith
var_Items = oComboBox.Items
	var_Items.AddItem("1/1/2001")
	var_Items.AddItem("1/2/2002")
	var_Items.AddItem("1/3/2003")
	var_Items.SortChildren(0,0,false)

72
How do I sort a column by numbers

local oComboBox,var_Column,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("desc").SortType = 1
var_Column = oComboBox.Columns.Add("desc")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.SortType = 1]
endwith
var_Items = oComboBox.Items
	var_Items.AddItem(1)
	var_Items.AddItem(5)
	var_Items.AddItem(10)
	var_Items.SortChildren(0,0,false)

71
How do I hide the control's header bar

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.HeaderVisible = false

70
How do change the visual appearance for the control's header bar, using EBN

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
oComboBox.HeaderBackColor = 0x1000000

69
How do I remove the control's border

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.Appearance = 0

68
I have a hierarchy and I need to filter only root items that match, with thier childs

local h,oComboBox,var_Column,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.LinesAtRoot = -1
oComboBox.FilterInclude = 3
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 240
	var_Column.Filter = "R1"
var_Items = oComboBox.Items
	h = var_Items.AddItem("R1")
	var_Items.InsertItem(h,null,"C1")
	var_Items.InsertItem(h,null,"C2")
	// var_Items.ExpandItem(h) = true
	with (oComboBox)
		TemplateDef = [dim var_Items,h]
		TemplateDef = var_Items
		TemplateDef = h
		Template = [var_Items.ExpandItem(h) = True]
	endwith
	h = var_Items.AddItem("R2")
	var_Items.InsertItem(h,null,"C1")
	var_Items.InsertItem(h,null,"C2")
oComboBox.ApplyFilter()

67
I have a hierarchy and I need to filter only root items that match, without thier childs

local h,oComboBox,var_Column,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.LinesAtRoot = -1
oComboBox.FilterInclude = 2
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 240
	var_Column.Filter = "R1"
var_Items = oComboBox.Items
	h = var_Items.AddItem("R1")
	var_Items.InsertItem(h,null,"C1")
	var_Items.InsertItem(h,null,"C2")
	// var_Items.ExpandItem(h) = true
	with (oComboBox)
		TemplateDef = [dim var_Items,h]
		TemplateDef = var_Items
		TemplateDef = h
		Template = [var_Items.ExpandItem(h) = True]
	endwith
	h = var_Items.AddItem("R2")
	var_Items.InsertItem(h,null,"C1")
	var_Items.InsertItem(h,null,"C2")
oComboBox.ApplyFilter()

66
I have a hierarchy and I need to filter only parent items that match, including thier childs

local h,oComboBox,var_Column,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.LinesAtRoot = -1
oComboBox.FilterInclude = 1
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 240
	var_Column.Filter = "R1"
var_Items = oComboBox.Items
	h = var_Items.AddItem("R1")
	var_Items.InsertItem(h,null,"C1")
	var_Items.InsertItem(h,null,"C2")
	// var_Items.ExpandItem(h) = true
	with (oComboBox)
		TemplateDef = [dim var_Items,h]
		TemplateDef = var_Items
		TemplateDef = h
		Template = [var_Items.ExpandItem(h) = True]
	endwith
	h = var_Items.AddItem("R2")
	var_Items.InsertItem(h,null,"C1")
	var_Items.InsertItem(h,null,"C2")
oComboBox.ApplyFilter()

65
How can I get ride/hide of the "Filter For" field

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.DisplayFilterPattern = false

64
Is there any way to get listed only visible items in the drop down filter window

local h,oComboBox,var_Column,var_Column1,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.LinesAtRoot = -1
oComboBox.Template = [Description(0) = ""] // oComboBox.Description(0) = ""
oComboBox.Template = [Description(1) = ""] // oComboBox.Description(1) = ""
oComboBox.Template = [Description(2) = ""] // oComboBox.Description(2) = ""
var_Column = oComboBox.Columns.Add("P1")
	var_Column.DisplayFilterButton = true
	var_Column.DisplayFilterPattern = false
	var_Column.FilterList = 1
var_Column1 = oComboBox.Columns.Add("P2")
	var_Column1.DisplayFilterButton = true
	var_Column1.DisplayFilterPattern = false
var_Items = oComboBox.Items
	h = var_Items.AddItem("R1")
	// var_Items.CellCaption(h,1) = "R2"
	with (oComboBox)
		TemplateDef = [dim var_Items,h]
		TemplateDef = var_Items
		TemplateDef = h
		Template = [var_Items.CellCaption(h,1) = "R2"]
	endwith
	// var_Items.CellCaption(var_Items.InsertItem(h,null,"Cell 1.1"),1) = "Cell 1.2"
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellCaption(InsertItem(h,,"Cell 1.1"),1) = "Cell 1.2"]
	endwith
	// var_Items.CellCaption(var_Items.InsertItem(h,null,"Cell 2.1"),1) = "Cell 2.2"
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellCaption(InsertItem(h,,"Cell 2.1"),1) = "Cell 2.2"]
	endwith

63
How do I filter for items that match exactly the specified string

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 240
	var_Column.Filter = "Item 1"
oComboBox.Items.AddItem("Item 1")
oComboBox.Items.AddItem("Item 2")
oComboBox.Items.AddItem("Item 3")
oComboBox.ApplyFilter()

62
How can I can I programmatically filter for items with a specified icon assigned

local oComboBox,var_Column,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 10
	var_Column.Filter = Str(1)
var_Items = oComboBox.Items
	// var_Items.CellImage(var_Items.AddItem("Image 1"),0) = 1
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellImage(AddItem("Image 1"),0) = 1]
	endwith
	// var_Items.CellImage(var_Items.AddItem("Image 1"),0) = 1
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellImage(AddItem("Image 1"),0) = 1]
	endwith
	// var_Items.CellImage(var_Items.AddItem("Image 2"),0) = 2
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellImage(AddItem("Image 2"),0) = 2]
	endwith
	// var_Items.CellImage(var_Items.AddItem("Image 3"),0) = 3
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellImage(AddItem("Image 3"),0) = 3]
	endwith
oComboBox.ApplyFilter()

61
How can I can I programmatically filter the checked items

local oComboBox,var_Column,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column")
	// var_Column.Def(0) = true
	with (oComboBox)
		TemplateDef = [dim var_Column]
		TemplateDef = var_Column
		Template = [var_Column.Def(0) = True]
	endwith
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 6
	var_Column.Filter = Str(0)
oComboBox.Items.AddItem(0)
var_Items = oComboBox.Items
	// var_Items.CellState(var_Items.AddItem(1),0) = 1
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellState(AddItem(1),0) = 1]
	endwith
oComboBox.Items.AddItem(2)
oComboBox.ApplyFilter()

60
How can I can I filter programmatically the items based on some numerichal rules

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 5
	var_Column.Filter = "> 0 <= 1"
oComboBox.Items.AddItem(0)
oComboBox.Items.AddItem(1)
oComboBox.Items.AddItem(2)
oComboBox.ApplyFilter()

59
How can I can I filter programmatically the items based on a range/interval of dates

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.DisplayFilterDate = true
	var_Column.FilterType = 4
	var_Column.Filter = "1/1/2001 to 1/1/2002"
oComboBox.Items.AddItem("1/1/2001")
oComboBox.Items.AddItem("2/1/2002")
oComboBox.ApplyFilter()

58
How can I can I filter programmatically given a specified pattern using wild characters like * or

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 3
	var_Column.Filter = "0*"
oComboBox.Items.AddItem(0)
oComboBox.Items.AddItem("00")
oComboBox.Items.AddItem(1)
oComboBox.Items.AddItem("11")
oComboBox.ApplyFilter()

57
How can I can I select programmatically "Blanks/NonBlanks" option in the column's drop down filter

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 1
oComboBox.ApplyFilter()

56
How can I display the column's filter

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("").DisplayFilterButton = true
var_Column = oComboBox.Columns.Add("")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.DisplayFilterButton = True]
endwith

55
How can I show the control's grid lines only for added/visible items

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.MarkSearchColumn = false
oComboBox.DrawGridLines = -2
oComboBox.Columns.Add("Column 1")
oComboBox.Columns.Add("Column 2")
oComboBox.Items.AddItem(0)
oComboBox.Items.AddItem(1)
oComboBox.Items.AddItem(2)

54
Can I hide the hierarchy lines

local h,oComboBox,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.LinesAtRoot = 1
oComboBox.HasLines = 0
oComboBox.Columns.Add("Column")
var_Items = oComboBox.Items
	h = var_Items.AddItem("Root 1")
	var_Items.InsertItem(h,null,"Child 1")
	var_Items.InsertItem(h,null,"Child 2")
	// var_Items.ExpandItem(h) = true
	with (oComboBox)
		TemplateDef = [dim var_Items,h]
		TemplateDef = var_Items
		TemplateDef = h
		Template = [var_Items.ExpandItem(h) = True]
	endwith
	h = var_Items.AddItem("Root 2")
	var_Items.InsertItem(h,null,"Child")

53
Can I change the style or type for the hierarchy lines

local h,oComboBox,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.LinesAtRoot = 1
oComboBox.HasLines = 2
oComboBox.Columns.Add("Column")
var_Items = oComboBox.Items
	h = var_Items.AddItem("Root 1")
	var_Items.InsertItem(h,null,"Child 1")
	var_Items.InsertItem(h,null,"Child 2")
	// var_Items.ExpandItem(h) = true
	with (oComboBox)
		TemplateDef = [dim var_Items,h]
		TemplateDef = var_Items
		TemplateDef = h
		Template = [var_Items.ExpandItem(h) = True]
	endwith
	h = var_Items.AddItem("Root 2")
	var_Items.InsertItem(h,null,"Child")

52
Can I use my own icons for the +/- ( expand/collapse ) buttons

local h,oComboBox,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
oComboBox.LinesAtRoot = 1
oComboBox.HasButtons = 4
oComboBox.Template = [HasButtonsCustom(0) = 1] // oComboBox.HasButtonsCustom(false) = 1
oComboBox.Template = [HasButtonsCustom(1) = 2] // oComboBox.HasButtonsCustom(true) = 2
oComboBox.Columns.Add("Column")
var_Items = oComboBox.Items
	h = var_Items.AddItem("Root 1")
	var_Items.InsertItem(h,null,"Child 1")
	var_Items.InsertItem(h,null,"Child 2")
	// var_Items.ExpandItem(h) = true
	with (oComboBox)
		TemplateDef = [dim var_Items,h]
		TemplateDef = var_Items
		TemplateDef = h
		Template = [var_Items.ExpandItem(h) = True]
	endwith
	h = var_Items.AddItem("Root 2")
	var_Items.InsertItem(h,null,"Child")

51
How do I change visual appearance of the +/- ( expand/collapse ) buttons

local h,oComboBox,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.LinesAtRoot = 1
oComboBox.HasButtons = 3
oComboBox.Columns.Add("Column")
var_Items = oComboBox.Items
	h = var_Items.AddItem("Root 1")
	var_Items.InsertItem(h,null,"Child 1")
	var_Items.InsertItem(h,null,"Child 2")
	// var_Items.ExpandItem(h) = true
	with (oComboBox)
		TemplateDef = [dim var_Items,h]
		TemplateDef = var_Items
		TemplateDef = h
		Template = [var_Items.ExpandItem(h) = True]
	endwith
	h = var_Items.AddItem("Root 2")
	var_Items.InsertItem(h,null,"Child")

50
How can I change the "IsChecked/IsUnchecked" caption in the control's filter bar, when I filter for checked items

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 6
	var_Column.Filter = Str(0)
oComboBox.Template = [Description(21) = "Check_On"] // oComboBox.Description(21) = "Check_On"
oComboBox.Template = [Description(22) = "Check_Off"] // oComboBox.Description(22) = "Check_Off"
oComboBox.ApplyFilter()

49
How can I change the "Checked" caption in the drop down filter window, when I filter for checked items

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 6
oComboBox.Template = [Description(19) = "with check on"] // oComboBox.Description(19) = "with check on"
oComboBox.Template = [Description(20) = "with check off"] // oComboBox.Description(20) = "with check off"

48
How can I change the name of the week days in the drop down calendar window, being displayed when I filter items between dates

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.DisplayFilterDate = true
oComboBox.Template = [Description(18) = "Du Lu Ma Mi Jo Vi Si"] // oComboBox.Description(18) = "Du Lu Ma Mi Jo Vi Si"
oComboBox.ApplyFilter()

47
How can I change the name of the months in the drop down calendar window, being displayed when I filter items between dates

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.DisplayFilterDate = true
oComboBox.Template = [Description(17) = "Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre"] // oComboBox.Description(17) = "Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre"
oComboBox.ApplyFilter()

46
Can I change the "Today" caption being displayed in the drop down calendar, when I filter for dates

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.DisplayFilterDate = true
oComboBox.Template = [Description(16) = "Azi"] // oComboBox.Description(16) = "Azi"
oComboBox.ApplyFilter()

45
The drop down filter window displays a "to" string between two datem when I filter dates. Can I change that

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.DisplayFilterDate = true
oComboBox.Template = [Description(13) = "->"] // oComboBox.Description(13) = "->"
oComboBox.ApplyFilter()

44
How can I filter the items that are between an interval/range of dates

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.DisplayFilterDate = true
oComboBox.ApplyFilter()

43
Can I change the "Date:" caption when the column's drop down filter window is shown

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.DisplayFilterDate = true
oComboBox.Template = [Description(12) = "Range"] // oComboBox.Description(12) = "Range"
oComboBox.ApplyFilter()

42
Can I filter for values using OR - NOT , instead AND operator

local oComboBox,var_Column,var_Column1,var_Column2

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column 1")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 1
var_Column1 = oComboBox.Columns.Add("Column 2")
	var_Column1.DisplayFilterButton = true
	var_Column1.FilterType = 1
var_Column2 = oComboBox.Columns.Add("Column 3")
	var_Column2.DisplayFilterButton = true
	var_Column2.FilterType = 1
oComboBox.FilterCriteria = "%0 or not %1 and %2"
oComboBox.ApplyFilter()

41
Can I change the NOT string in the filter bar

local oComboBox,var_Column,var_Column1

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column 1")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 1
var_Column1 = oComboBox.Columns.Add("Column 2")
	var_Column1.DisplayFilterButton = true
	var_Column1.FilterType = 2
oComboBox.FilterCriteria = "not %0 or %1"
oComboBox.Template = [Description(24) = " ! "] // oComboBox.Description(24) = " ! "
oComboBox.Template = [Description(10) = " ! IsBlank"] // oComboBox.Description(10) = " ! IsBlank"
oComboBox.ApplyFilter()

40
How do I ensure that the focused item is visible, after the user does the sort

local oComboBox,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.EnsureOnSort = true
oComboBox.Columns.Add("Column")
var_Items = oComboBox.Items
	var_Items.AddItem("Item 3")
	var_Items.AddItem("Item 1")
	var_Items.AddItem("Item 2")
oComboBox.PutItems(oComboBox.GetItems(0))
oComboBox.PutItems(oComboBox.GetItems(0))
oComboBox.PutItems(oComboBox.GetItems(0))
oComboBox.Columns.Item(0).SortOrder = 1

39
Can I change the OR string in the filter bar

local oComboBox,var_Column,var_Column1

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column 1")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 1
var_Column1 = oComboBox.Columns.Add("Column 2")
	var_Column1.DisplayFilterButton = true
	var_Column1.FilterType = 2
oComboBox.FilterCriteria = "%0 or %1"
oComboBox.Template = [Description(23) = " | "] // oComboBox.Description(23) = " | "
oComboBox.ApplyFilter()

38
Can I change the AND string in the filter bar

local oComboBox,var_Column,var_Column1

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column 1")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 1
var_Column1 = oComboBox.Columns.Add("Column 2")
	var_Column1.DisplayFilterButton = true
	var_Column1.FilterType = 2
oComboBox.Template = [Description(11) = " & "] // oComboBox.Description(11) = " & "
oComboBox.ApplyFilter()

37
The "IsBlank" caption shown in the control's filterbar when I select "Blanks" or "NonBlanks" items in the column's drop down filter window

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Column = oComboBox.Columns.Add("Column")
	var_Column.DisplayFilterButton = true
	var_Column.FilterType = 1
oComboBox.Template = [Description(9) = "Is Empty"] // oComboBox.Description(9) = "Is Empty"
oComboBox.Template = [Description(10) = "Is Not Empty"] // oComboBox.Description(10) = "Is Not Empty"
oComboBox.ApplyFilter()

36
Is there any option to remove the tooltip when the cursor hovers the column's drop down filter window

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("Column").DisplayFilterButton = true
var_Column = oComboBox.Columns.Add("Column")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.DisplayFilterButton = True]
endwith
oComboBox.Template = [Description(4) = ""] // oComboBox.Description(4) = ""
oComboBox.Template = [Description(5) = ""] // oComboBox.Description(5) = ""
oComboBox.Template = [Description(6) = ""] // oComboBox.Description(6) = ""
oComboBox.Template = [Description(7) = ""] // oComboBox.Description(7) = ""
oComboBox.Template = [Description(8) = ""] // oComboBox.Description(8) = ""
oComboBox.Template = [Description(14) = ""] // oComboBox.Description(14) = ""
oComboBox.Template = [Description(15) = ""] // oComboBox.Description(15) = ""

35
How can I change the "Filter For" caption in the column's drop down filter window

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("Column").DisplayFilterButton = true
var_Column = oComboBox.Columns.Add("Column")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.DisplayFilterButton = True]
endwith
oComboBox.Template = [Description(3) = "new caption"] // oComboBox.Description(3) = "new caption"

34
Can I remove the "All", "Blanks" and "NonBlanks" items in the drop down filter window

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("Column").DisplayFilterButton = true
var_Column = oComboBox.Columns.Add("Column")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.DisplayFilterButton = True]
endwith
oComboBox.Template = [Description(0) = ""] // oComboBox.Description(0) = ""
oComboBox.Template = [Description(1) = ""] // oComboBox.Description(1) = ""
oComboBox.Template = [Description(2) = ""] // oComboBox.Description(2) = ""

33
How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("Column").DisplayFilterButton = true
var_Column = oComboBox.Columns.Add("Column")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.DisplayFilterButton = True]
endwith
oComboBox.Template = [Description(0) = "new name for (All)"] // oComboBox.Description(0) = "new name for (All)"

32
How can I change the position of the column

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.Columns.Add("Column 1")
// oComboBox.Columns.Add("Column 2").Position = 0
var_Column = oComboBox.Columns.Add("Column 2")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Position = 0]
endwith

31
Can I make strikeout the column's header

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("Column 1").HeaderStrikeOut = true
var_Column = oComboBox.Columns.Add("Column 1")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HeaderStrikeOut = True]
endwith

30
How can I apply an strikeout font only a portion of the column's header

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("Column 1").HTMLCaption = "<s>Col</s>umn 1"
var_Column = oComboBox.Columns.Add("Column 1")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HTMLCaption = "<s>Col</s>umn 1"]
endwith

29
How can I get underlined only a portion of column's header

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("Column 1").HTMLCaption = "<u>Col</u>umn 1"
var_Column = oComboBox.Columns.Add("Column 1")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HTMLCaption = "<u>Col</u>umn 1"]
endwith

28
How can I underline the column's header

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("Column 1").HeaderUnderline = true
var_Column = oComboBox.Columns.Add("Column 1")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HeaderUnderline = True]
endwith

27
How can I apply an italic font only a portion of the column's header

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("Column 1").HTMLCaption = "<i>Col</i>umn 1"
var_Column = oComboBox.Columns.Add("Column 1")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HTMLCaption = "<i>Col</i>umn 1"]
endwith

26
Is there any option to make italic the column's header

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("Column 1").HeaderItalic = true
var_Column = oComboBox.Columns.Add("Column 1")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HeaderItalic = True]
endwith

25
How can I bold only a portion of the column's header

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("Column 1").HTMLCaption = "<b>Col</b>umn 1"
var_Column = oComboBox.Columns.Add("Column 1")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HTMLCaption = "<b>Col</b>umn 1"]
endwith

24
Is there any option to bold the column's header

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("Column 1").HeaderBold = true
var_Column = oComboBox.Columns.Add("Column 1")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HeaderBold = True]
endwith

23
Why child items are not shown

local h,oComboBox,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.LinesAtRoot = -1
oComboBox.Columns.Add("Column 1")
var_Items = oComboBox.Items
	h = var_Items.AddItem("Root")
	var_Items.InsertItem(h,null,"Child 1")
	var_Items.InsertItem(h,null,"Child 2")
	// var_Items.ExpandItem(h) = true
	with (oComboBox)
		TemplateDef = [dim var_Items,h]
		TemplateDef = var_Items
		TemplateDef = h
		Template = [var_Items.ExpandItem(h) = True]
	endwith

22
Does your control support partial-check ( three states ) feature for each column

local h,oComboBox,var_Column,var_Column1,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.LinesAtRoot = -1
var_Column = oComboBox.Columns.Add("P1")
	// var_Column.Def(0) = true
	with (oComboBox)
		TemplateDef = [dim var_Column]
		TemplateDef = var_Column
		Template = [var_Column.Def(0) = True]
	endwith
	var_Column.PartialCheck = true
var_Column1 = oComboBox.Columns.Add("P2")
	// var_Column1.Def(0) = true
	with (oComboBox)
		TemplateDef = [dim var_Column1]
		TemplateDef = var_Column1
		Template = [var_Column1.Def(0) = True]
	endwith
	var_Column1.PartialCheck = true
var_Items = oComboBox.Items
	h = var_Items.AddItem("Root")
	var_Items.InsertItem(h,null,"Child 1")
	var_Items.InsertItem(h,null,"Child 2")
	// var_Items.ExpandItem(h) = true
	with (oComboBox)
		TemplateDef = [dim var_Items,h]
		TemplateDef = var_Items
		TemplateDef = h
		Template = [var_Items.ExpandItem(h) = True]
	endwith

21
Can I change the font to display the column's header

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.HeaderHeight = 34
// oComboBox.Columns.Add("Column 1").HTMLCaption = "<font Tahoma;14>Column</font> 1"
var_Column = oComboBox.Columns.Add("Column 1")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HTMLCaption = "<font Tahoma;14>Column</font> 1"]
endwith

20
Can I change the height of the header bar

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.HeaderHeight = 32

19
Can I display multiple icons to the column's header

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
// oComboBox.Columns.Add("Column 1").HTMLCaption = "1<img>1</img> 2 <img>2</img>..."
var_Column = oComboBox.Columns.Add("Column 1")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HTMLCaption = "1<img>1</img> 2 <img>2</img>..."]
endwith

18
How can I draw grid lines only for visible items

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.MarkSearchColumn = false
oComboBox.DrawGridLines = -2
oComboBox.Columns.Add("Column 1")
oComboBox.Columns.Add("Column 2")
oComboBox.Items.AddItem(0)
oComboBox.Items.AddItem(1)
oComboBox.Items.AddItem(2)

17
How can I show the control's grid lines

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.MarkSearchColumn = false
oComboBox.DrawGridLines = -1
oComboBox.Columns.Add("Column 1")
oComboBox.Columns.Add("Column 2")
oComboBox.Items.AddItem(0)
oComboBox.Items.AddItem(1)
oComboBox.Items.AddItem(2)

16
How can I assign a different background color for the entire column

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.MarkSearchColumn = false
// oComboBox.Columns.Add("Column 1").Def(4) = 255
var_Column = oComboBox.Columns.Add("Column 1")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Def(4) = 255]
endwith
oComboBox.Columns.Add("Column 2")
oComboBox.Items.AddItem(0)
oComboBox.Items.AddItem(1)
oComboBox.Items.AddItem(2)

15
How can I assign a check box for a cell

local oComboBox,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.Columns.Add("Column 1")
var_Items = oComboBox.Items
	var_Items.AddItem(0)
	// var_Items.CellHasCheckBox(var_Items.AddItem(1),0) = true
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellHasCheckBox(AddItem(1),0) = True]
	endwith
	var_Items.AddItem(2)

14
How can I assign checkboxes for the entire column

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("Column 1").Def(0) = true
var_Column = oComboBox.Columns.Add("Column 1")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Def(0) = True]
endwith
oComboBox.Items.AddItem(0)
oComboBox.Items.AddItem(1)
oComboBox.Items.AddItem(2)

13
How can I change the column's width

local oComboBox,var_Column,var_Column1

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.ColumnAutoResize = false
// oComboBox.Columns.Add("Column 1").Width = 64
var_Column = oComboBox.Columns.Add("Column 1")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Width = 64]
endwith
// oComboBox.Columns.Add("Column 2").Width = 128
var_Column1 = oComboBox.Columns.Add("Column 2")
with (oComboBox)
	TemplateDef = [dim var_Column1]
	TemplateDef = var_Column1
	Template = [var_Column1.Width = 128]
endwith

12
How can I show or hide a column

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("Hidden").Visible = false
var_Column = oComboBox.Columns.Add("Hidden")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Visible = False]
endwith

11
How can I hide the searching column

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.MarkSearchColumn = false
oComboBox.Columns.Add("Column 1")
oComboBox.Columns.Add("Column 2")
oComboBox.Items.AddItem()

10
Can I disable sorting a column, when the user clicks the column's header, or drag it to the sort bar

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("Unsortable").AllowSort = false
var_Column = oComboBox.Columns.Add("Unsortable")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.AllowSort = False]
endwith
oComboBox.Columns.Add("Sortable")

9
Is there any option to align the header to the left and the data to the right

local oComboBox,var_Column,var_Column1,var_Items

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("Left").Alignment = 0
var_Column = oComboBox.Columns.Add("Left")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Alignment = 0]
endwith
var_Column1 = oComboBox.Columns.Add("Right")
	var_Column1.Alignment = 2
	var_Column1.HeaderAlignment = 2
var_Items = oComboBox.Items
	// var_Items.CellCaption(var_Items.AddItem("left"),1) = "right"
	with (oComboBox)
		TemplateDef = [dim var_Items]
		TemplateDef = var_Items
		Template = [var_Items.CellCaption(AddItem("left"),1) = "right"]
	endwith

8
Can I displays a custom size picture to column's header

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.Template = [HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"] // oComboBox.HTMLPicture("pic1") = "c:\exontrol\images\zipdisk.gif"
oComboBox.HeaderHeight = 48
// oComboBox.Columns.Add("ColumnName").HTMLCaption = "<b>HTML</b> Column <img>pic1</img> Picture"
var_Column = oComboBox.Columns.Add("ColumnName")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HTMLCaption = "<b>HTML</b> Column <img>pic1</img> Picture"]
endwith

7
How can I insert an icon to column's header

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
// oComboBox.Columns.Add("ColumnName").HTMLCaption = "<b>HTML</b> Column <img>1</img> Icon"
var_Column = oComboBox.Columns.Add("ColumnName")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HTMLCaption = "<b>HTML</b> Column <img>1</img> Icon"]
endwith

6
How can I insert an icon to column's header

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yNAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
// oComboBox.Columns.Add("ColumnName").HeaderImage = 1
var_Column = oComboBox.Columns.Add("ColumnName")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HeaderImage = 1]
endwith

5
How can I use HTML format in column's header

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("ColumnName").HTMLCaption = "<b>HTML</b> <fgcolor=0000FF>Col</fgcolor>umn"
var_Column = oComboBox.Columns.Add("ColumnName")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.HTMLCaption = "<b>HTML</b> <fgcolor=0000FF>Col</fgcolor>umn"]
endwith

4
How can I change/rename the column's name

local oComboBox,var_Column

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
// oComboBox.Columns.Add("ColumnName").Caption = "NewName"
var_Column = oComboBox.Columns.Add("ColumnName")
with (oComboBox)
	TemplateDef = [dim var_Column]
	TemplateDef = var_Column
	Template = [var_Column.Caption = "NewName"]
endwith

3
How can I add multiple columns

local oComboBox,var_Columns

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
var_Columns = oComboBox.Columns
	var_Columns.Add("Column 1")
	var_Columns.Add("Column 2")

2
I've added a single column, but it is displayed only on a part of the control. Is there something I can do so the column will be fully displayed on the control

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.Columns.Add("ColumnName")
oComboBox.Items.AddItem("Item 1")
oComboBox.Items.AddItem("Item 2")

1
How can I add a new column

local oComboBox

oComboBox = form.EXCOMBOBOXACTIVEXCONTROL1.nativeObject
oComboBox.Columns.Add("ColumnName")